#include "caculate_task.h"

Caculate_Task::Caculate_Task(QString id, QString type, QString task_data)
{
     this->caculate_task_id=id;
     this->tasktype=type;
     this->task_data=task_data;
}

void Caculate_Task::setTaskdata(QString data)
{
    this->task_data=data;
}

void Caculate_Task::setTaskid(QString id)
{
    this->caculate_task_id=id;
}

void Caculate_Task::setTasktype(QString type)
{
    this->tasktype=type;
}

void  Caculate_Task::set_Taskschedule(QString schedule)
{
     this->task_schedule=schedule;
}
void  Caculate_Task::set_TaskcreateId(QString createId)
{
    this->create_id=createId;
}
void  Caculate_Task::set_TaskstartTime(QString StartTime)
{
    this->start_time=StartTime;
}
void  Caculate_Task::set_TaskendTime(QString EndTime)
{
    this->end_time=EndTime;
}
void  Caculate_Task::set_TaskResult(QString TaskResult)
{
    this->task_result=TaskResult;
}
void  Caculate_Task::set_TaskIsFinish(QString IsFinish)
{
    this->task_isfinish=IsFinish;
}
void  Caculate_Task::set_TaskTimeConsuming(QString TimeConsuming)
{
    this->task_timeconsuming=TimeConsuming;
}

void Caculate_Task::set_Taskdecomposition_num(int num)
{
    this->task_decomposition_num=num;
}


void Caculate_Task::set_TaskLastupdate_time(QDateTime lasttime)
{
    this->Lastupdate_time=lasttime;
}

QString Caculate_Task::Taskdata()
{
    return this->task_data;
}

QString Caculate_Task::Taskid()
{
    return this->caculate_task_id;
}

QString Caculate_Task::Tasktype()
{
    return this->tasktype;
}

QString Caculate_Task::Taskcreateid()
{
    return this->create_id;
}

QString Caculate_Task::Taskendtime()
{
    return this->end_time;
}

QString Caculate_Task::Taskisfinish()
{
    return this->task_isfinish;
}

QString Caculate_Task::Taskresult()
{
    return this->task_result;
}

QString Caculate_Task::Taskschedule()
{
    return this->task_schedule;
}

QString Caculate_Task::Taskstarttime()
{
    return this->start_time;
}

QString Caculate_Task::Tasktimeconsuming()
{
    return this->task_timeconsuming;
}

int Caculate_Task::Taskdecomposition_num()
{
    return this->task_decomposition_num;
}


QDateTime Caculate_Task::TaskLastupdate_time(){
    return this->Lastupdate_time;
}
